package com.zxp.springboot.javaee;

/**
 * @author zxp
 * @date 2021-09-29 11:14
 */
public class Cat implements Animal{

    public Cat() {
        System.out.println("实例化了一只猫");
    }

    @Override
    public String getName() {
        return "猫";
    }
}
